home *** CD-ROM | disk | FTP | other *** search
/ PC User 2002 August / Disc 1 / PCU0802CD1.iso / software / apps / files / anfxw32.exe / #setuppath# / c25.class (.txt) < prev    next >
Encoding:
Java Class File  |  2002-06-23  |  1.5 KB  |  103 lines

  1. import java.awt.Color;
  2. import java.awt.Graphics;
  3. import java.io.IOException;
  4.  
  5. public class c25 extends c00 {
  6.    // $FF: renamed from: NG boolean
  7.    protected boolean field_0;
  8.    // $FF: renamed from: Io int
  9.    public static final int field_1 = 10000;
  10.    // $FF: renamed from: MG int
  11.    protected int field_2;
  12.    // $FF: renamed from: Od int[]
  13.    protected int[] field_3;
  14.    // $FF: renamed from: MN int[]
  15.    protected int[] field_4;
  16.    // $FF: renamed from: Nh int[]
  17.    protected int[] field_5;
  18.    // $FF: renamed from: MM int[]
  19.    protected int[] field_6;
  20.    // $FF: renamed from: If int
  21.    protected int field_7;
  22.    // $FF: renamed from: Lm int
  23.    protected int field_8;
  24.  
  25.    // $FF: renamed from: Hj () void
  26.    public void method_0() {
  27.       boolean var1 = false;
  28.       boolean var2 = false;
  29.       if (super.LZ != this.field_7) {
  30.          var1 = true;
  31.          this.field_7 = super.LZ;
  32.       }
  33.  
  34.       if (super.LX != this.field_8) {
  35.          var2 = true;
  36.          this.field_8 = super.LX;
  37.       }
  38.  
  39.       if (var2 || var1) {
  40.          for(int var3 = 0; var3 < this.field_2; ++var3) {
  41.             if (var1) {
  42.                this.field_5[var3] = this.field_3[var3] * super.LZ / 10000;
  43.             }
  44.  
  45.             if (var2) {
  46.                this.field_6[var3] = this.field_4[var3] * super.LX / 10000;
  47.             }
  48.          }
  49.       }
  50.  
  51.    }
  52.  
  53.    // $FF: renamed from: Ib () void
  54.    public void method_1() {
  55.       super.Ib();
  56.       this.field_7 = -1000000;
  57.       this.field_8 = -1000000;
  58.    }
  59.  
  60.    // $FF: renamed from: Lf (c14) java.lang.Object
  61.    public Object method_2(c14 var1) throws IOException {
  62.       super.Lf(var1);
  63.       super.GB = var1.FX();
  64.       this.field_2 = var1.GJ();
  65.       this.field_3 = new int[this.field_2];
  66.       this.field_4 = new int[this.field_2];
  67.       this.field_5 = new int[this.field_2];
  68.       this.field_6 = new int[this.field_2];
  69.  
  70.       for(int var2 = 0; var2 < this.field_2; ++var2) {
  71.          short var3 = var1.FS();
  72.          short var4 = var1.FS();
  73.          this.field_3[var2] = var3;
  74.          this.field_4[var2] = var4;
  75.       }
  76.  
  77.       byte var5 = var1.Nb();
  78.       this.field_0 = var5 != 0;
  79.       return this;
  80.    }
  81.  
  82.    // $FF: renamed from: JL (java.awt.Graphics) void
  83.    public void method_3(Graphics var1) {
  84.       if (super.JC != 0) {
  85.          this.method_0();
  86.          short var2 = super.Kw;
  87.          short var3 = super.Ki;
  88.          super.JT.translate(var2, var3);
  89.          Color var4 = var1.getColor();
  90.          super.In(var1, super.Mb);
  91.          if (this.field_0) {
  92.             var1.drawPolyline(this.field_5, this.field_6, this.field_2);
  93.          } else {
  94.             var1.fillPolygon(this.field_5, this.field_6, this.field_2);
  95.          }
  96.  
  97.          var1.setColor(var4);
  98.          Object var5 = null;
  99.          super.JT.translate(-var2, -var3);
  100.       }
  101.    }
  102. }
  103.